<pro-header></pro-header>
<nz-card>
    <ng-template #title>
        新增推送
    </ng-template>

    <ng-template #body>
        <form nz-form [formGroup]="jpushFrom"
              (ngSubmit)="save($event)">
            <div nz-form-item nz-row>
                <div nz-form-label nz-col [nzSpan]="6">
                    <label for="title" nz-form-item-required>标题</label>
                </div>
                <div nz-col [nzSpan]="12" id="title" nz-form-control nzHasFeedback>
                    <nz-input [nzPlaceHolder]="'推送标题'" formControlName="title"></nz-input>
                </div>
            </div>


            <div nz-form-item nz-row>
                <div nz-form-label nz-col [nzSpan]="6">
                    <label for="content" nz-form-item-required>内容</label>
                </div>
                <div nz-col [nzSpan]="12" id="content" nz-form-control nzHasFeedback>
                    <nz-input [nzPlaceHolder]="'推送内容'" [nzType]="'textarea'" formControlName="content"></nz-input>
                </div>
            </div>

            <div nz-form-item nz-row>
                <div nz-form-label nz-col [nzSpan]="6">
                    <!--<label  nz-form-item-required>操作</label>-->
                </div>
                <div nz-col [nzSpan]="12">
                    <button nz-button nzType="'primary'" [disabled]="!jpushFrom.valid">发送</button>
                </div>
            </div>
        </form>
    </ng-template>
</nz-card>
